<template>
    <div class="template-ui">
        <div class="ui-mask" :class="ui.mask.status?'on':''"></div>
        <div class="ui-toast" :class="ui.toast.status?'on':''">{{ui.toast.txt}}</div>
        <!-- <div>
            <p class="p1">a的值是：{{a}}</p>
            <p class="p1">b的值是：{{b}}</p>
        </div> -->
    </div>
</template>

<script>
import bus from "../../api/eventBus";
import { setUi } from "../../vuex/actions";
import { ui } from "../../vuex/getters";
export default {
  data() {
    return {
      a: 0,
      b: 0
    };
  },
  vuex: {
    getters: {
      ui
    },
    actions: {
      setUi
    }
  },
  methods: {
    onCloseMask(e) {
      //_zax.ui.mask.hide();
      // this.setUi(false);
    }
  },
  mounted() {
    let me = this;
    
  }
};
</script>